* {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    box-sizing: border-box;
}
.container {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 60px 0;
}

.chart {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 29px;
}
.chart > p{
    width: 199px;
}
.chart > div.pie{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e9dddd;
    background-image: linear-gradient(to right, transparent 50%, rgb(255, 176, 189) 0);
}

.chart div.pie::before {
    content: '';
    display: block;
    height: 100%;
    margin-left: 50%;
    border-radius: 0 100% 100% 0 / 0 50% 50% 0;
    background-color: inherit;
    transform-origin: 0 50%;
    transform: rotate(var(--rotate));
}

.chart > div.bar{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #e9dddd;
    background-image: linear-gradient(to right, transparent 50%, #feaafe 0);
}

.chart div.bar::before {
    content: "";
    display: block;
    margin-left: 50%;
    height: 100%;
    border-radius: 0 100% 100% 0 / 0 50% 50% 0;
    background-color: inherit;
    transform-origin: 0 50%;
    animation: bar-chart-spin 3s linear 1.6 forwards,
        bar-chart-bg 3s step-end 1 forwards;
}

@keyframes bar-chart-spin {
    to { transform: rotate(.5turn); }
}
@keyframes bar-chart-bg {
    to { background: #feaafe; }
}